

import DetailModal from '../../../components/detailModal';
import main from '../../../main';
interface Props {
  onCancel?: () => void;
  record: any,
  id: string | number,
  phone: string | number,
}




export default function CardDetailWalletRefundApplyDetailPage({ onCancel, record }: Props) {
  const { iccid } = record;
  const url = `https://sys.zhisuoyi.net/addrefundKf?iccid=${iccid}&type=add&step=1&token=${main.token}`;

  return (
    <DetailModal
      className="bw-90"
      contentClassName="h-700"
      show
      title="退款申请"
      onCancel={onCancel}
      confirmBtnShow={false}
      cancelText="关闭"
    >
      <iframe width="100%" height="100%" frameBorder="0"
        style={{ border: 'none' }} src={url} />
    </DetailModal>

  );
}
